
/* 待办事项区域样式 */
.section {
  margin-bottom: 30px;
}

.sectionTitle {
  margin-bottom: 15px;
  color: #333;
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 3px solid #4caf50;
}

.sectionTitleCompleted {
  margin-bottom: 15px;
  color: #666;
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 3px solid #9e9e9e;
}

.todoList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.todoItem {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 10px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.todoItem:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.todoItemCompleted {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 10px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  opacity: 0.8;
}

.checkbox {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #4caf50;
}

.todoText {
  flex: 1;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.todoTextCompleted {
  flex: 1;
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
  font-style: italic;
}

.deleteButton {
  padding: 6px 16px;
  font-size: 14px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.deleteButton:hover {
  background-color: #da190b;
}

